
package com.jy.rhin.facade.ws.basic.notification;

import com.jy.rhin.config.NamespaceConstants;
import lombok.extern.slf4j.Slf4j;
import org.oasis_open.docs.wsn.b_2.Notify;
import org.springframework.stereotype.Component;

import javax.jws.WebService;

/**
 * @Description: 基础通知-通知
 * @Author: lww
 * @Date: 2022/7/6
 */
@WebService(
        serviceName = "NotificationConsumerServer",
        portName = "NotificationConsumerPort",
        targetNamespace = NamespaceConstants.NS_RHIN,
        endpointInterface = "com.jy.rhin.facade.ws.basic.notification.NotificationConsumer")

@Component
@Slf4j
public class NotificationConsumerPortImpl implements NotificationConsumer {

    /**
     * 通知
     *
     * @param notify
     */
    @Override
    public void notify(Notify notify) {
        log.info("收到通知{}", notify);
    }

}
